package cc.atliberty.creating.factorymethod.factorymethod0;

public class Client {
    
    public static void main(String[] args) {
        Creator[] creators = {new ConcreteCreator1(), new ConcreteCreator2()};
        for (Creator creator : creators) {
            Product product = creator.factory();
            product.show();
        }
    }
}
